# -*- coding:utf-8 -*-
import unittest

from util import firefoxutil, urlutil, findutil

import assertutil


class Jd_Main_Shop(unittest.TestCase):



    def setUp(self):

        # 打开浏览器
        self.driver = firefoxutil.StartFireFox(urlutil.JD_MAIN)


        pass


    def tearDown(self):

        # 关闭
        firefoxutil.CloseFireFox(self.driver)

        pass


    def test_jd_main_search_shop(self):


        assertutil.SendKeys("key","button",u"袜子",self)

        assertutil.Search("m-list",self)

        pass